<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
    "-//Apache Software Foundation//DTD Struts Configuration 2.1//EN"
    "http://struts.apache.org/dtds/struts-2.1.dtd">

<struts>

<!-- 是否显示详细错误信息 -->
	<constant name="struts.devMode" value="true" />
	<!-- 国际化资源文件名称 -->
	<constant name="struts.custom.i18n.resources" value="i18n" />
	<!-- 是否自动加载国际化资源文件 -->
	<constant name="struts.i18n.reload" value="false" />
	<!-- convention类重新加载 -->
	<constant name="struts.convention.classes.reload" value="false" />
	<!-- 浏览器是否缓存静态内容 -->
	<constant name="struts.serve.static.browserCache" value="true" />
	<!-- 配置使用Spring管理Action -->
	<constant name="struts.objectFactory" value="spring" />
	<!-- 上传文件大小限制设置 -->
	<constant name="struts.multipart.maxSize" value="-1" />
	<!-- 主题 -->
	<constant name="struts.ui.theme" value="simple" />
	<!-- 编码 -->
	<constant name="struts.i18n.encoding" value="UTF-8" />
	<constant name="struts.locale" value="zh_CN" />
	<!-- 后缀 -->
	<constant name="struts.action.extension" value="action,do,htm" />

	<constant name="struts.multipart.saveDir" value="/tmp" />
	<!-- 结果资源的路径 -->
	<constant name="struts.convention.result.path" value="/WEB-INF/content/" />
	<!-- URL资源分隔符 -->
	<constant name="struts.convention.action.name.separator" value="-" />
	    

	<package name="base" extends="struts-default" >
		<global-results>
			<result name="error" >/error/error.jsp</result>
			<result name="notFindEroor" type="redirect">/error/404.html</result>
			<result name="serverEroor" type="redirect">/error/500.html</result>
			<result name="audiResult" type="redirect">/audi/result.jsp</result>
		</global-results>
	</package>
	 <package name="audi" extends="struts-default" namespace="/audi">
		 <global-results>
		 	<result name="audiResult">/audi/result.jsp</result>
		 </global-results>
	 	<!-- 圈子 -->
    	<action name="circle_query" class="auti.action.CircleAction" method="query">
        	<result name="result">/audi/result.jsp</result>        	
        </action>
        <action name="circle_queryMainCircles" class="auti.action.CircleAction" method="queryMainCircles">
        	<result name="cindex">/audi/circle/cindex.jsp</result>        	
        </action>
        <action name="circle_queryHotCircles" class="auti.action.CircleAction" method="queryHotCircles">
        	<result name="result">/audi/result.jsp</result>        	
        </action>
        <action name="circle_queryChildCircles" class="auti.action.CircleAction" method="queryChildCircles">
        	<result name="childList">/audi/circle/childlist.jsp</result>        	
        </action>
        <action name="circle_queryDetailCircles" class="auti.action.CircleAction" method="queryChildCircles">
        	<result name="result">/audi/circle/detail.jsp</result>        	
        </action>
        <!-- 公告 -->
         <action name="bulletin_list" class="auti.action.BulletinAction" method="list">
        	<result name="list">/audi/bulletin/list.jsp</result>        	
        </action>
        <!-- 相册 -->
         <action name="album_list" class="auti.action.AlbumAction" method="list">
        	<result name="list">/audi/album/list.jsp</result>        	
        </action>
        <action name="album_detail" class="auti.action.AlbumAction" method="detail">
        	<result name="list">/audi/album/detail.jsp</result>        	
        </action>
    </package>
   
   
   <include file="struts_demo_front.xml"></include>
   
   
</struts>
